package model;

import java.util.ArrayList;

public class Exercise {

	private String name;
	private Gym gym;
	private ArrayList<Double> possibleWeights;
	private MuscleGroup primaryMuscleGroup;
	private ArrayList<MuscleGroup> secondaryMuscleGroups;

	public Exercise(String name, Gym gym) {
		this.setName(name);
		this.setGym(gym);
		this.setPossibleWeights(new ArrayList<Double>());
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Gym getGym() {
		return gym;
	}

	public void setGym(Gym gym) {
		this.gym = gym;
	}

	public ArrayList<Double> getPossibleWeights() {
		return possibleWeights;
	}

	public void setPossibleWeights(ArrayList<Double> possibleWeights) {
		this.possibleWeights = possibleWeights;
	}

	public MuscleGroup getPrimaryMuscleGroup() {
		return primaryMuscleGroup;
	}

	public void setPrimaryMuscleGroup(MuscleGroup primaryMuscleGroup) {
		this.primaryMuscleGroup = primaryMuscleGroup;
	}

	public ArrayList<MuscleGroup> getSecondaryMuscleGroups() {
		return secondaryMuscleGroups;
	}

	public void setSecondaryMuscleGroups(
			ArrayList<MuscleGroup> secondaryMuscleGroups) {
		this.secondaryMuscleGroups = secondaryMuscleGroups;
	}
}
